package ru.amse.podolsky.fractalarch.model;

//package ru.amse.podolsky.fractalarch;

/**
 * Created by IntelliJ IDEA.
 * User: student
 * Date: Dec 13, 2008
 * Time: 11:04:11 AM
 * To change this template use File | Settings | File Templates.
 */
public interface IParams {
       public static final int DOMEN_SIZE = 4;
       public static final int BLOCK_SIZE = 8;
       public static final String DEFAULT_STEP = "4";
       public static final byte TEXT_ARCHIV_FLAG = 0;
       public static final byte BIT_ARCHIV_FLAG = 1;

       public enum imageTypes{
            jpg,
            bmp,
            gif,
            png,
            jpeg;

            public static boolean include(String str){
                for(imageTypes c : imageTypes.values()){
                    if(c.toString().equals(str)){
                        return true;
                    }
                }
                return false;
            }
        }

        public enum fractalTypes{
            fah,
            Fah,
            FAH;

            public static boolean include(String str){
                for(fractalTypes c : fractalTypes.values()){
                    if(c.toString().equals(str)){
                        return true;
                    }
                }
                return false;
            }
        }
}
